Carbon


EqualPt

Header: Quickdraw.h Carbon status: Supported

Determines whether the coordinates of two given points are equal.

Boolean EqualPt (
    Point pt1, 
    Point pt2
);
Parameter descriptions
pt1

The first of two points to be compared.

pt2

The second of two points to be compared.

function result

TRUE if the coordinates of the two points are equal, or FALSE if they are not.

DISCUSSION

The EqualPt function compares the points specified in the pt1 and pt2 parameters and returns TRUE if their coordinates are equal or FALSE if they are not.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)